package indi.fritz.bigmap.util;

import java.util.Random;

public class RandomString {

    final static String randomCarts = "abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZ0123456789";
    static Random random = new Random();
    
    public static String next(int size) {
    	StringBuilder builder = new StringBuilder();
    	while (size-->0) {
    		builder.append(randomCarts.charAt(random.nextInt(randomCarts.length())));
		}
        return builder.toString();
    }
}
